.class Lcom/example/m6wmr/GiftParticularActivity$1;
.super Landroid/os/Handler;
.source "GiftParticularActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/GiftParticularActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/GiftParticularActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/GiftParticularActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    .line 79
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 83
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 84
    iget v2, p1, Landroid/os/Message;->arg1:I

    packed-switch v2, :pswitch_data_0

    .line 107
    :goto_0
    return-void

    .line 86
    :pswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lorg/json/JSONObject;

    .line 90
    .local v1, "object":Lorg/json/JSONObject;
    :try_start_0
    iget-object v2, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->gift_name:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/example/m6wmr/GiftParticularActivity;->access$4(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;

    move-result-object v2

    const-string v3, "title"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 91
    iget-object v2, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;
    invoke-static {v2}, Lcom/example/m6wmr/GiftParticularActivity;->access$5(Lcom/example/m6wmr/GiftParticularActivity;)Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    iget-object v4, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->m:Lmyapp/MyApp;
    invoke-static {v4}, Lcom/example/m6wmr/GiftParticularActivity;->access$6(Lcom/example/m6wmr/GiftParticularActivity;)Lmyapp/MyApp;

    move-result-object v4

    invoke-virtual {v4}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "img"

    invoke-virtual {v1, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->gift_img:Landroid/widget/ImageView;
    invoke-static {v4}, Lcom/example/m6wmr/GiftParticularActivity;->access$7(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/ImageView;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 92
    iget-object v2, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->gift_price:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/example/m6wmr/GiftParticularActivity;->access$8(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;

    move-result-object v2

    const-string v3, "score"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 93
    iget-object v2, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    # getter for: Lcom/example/m6wmr/GiftParticularActivity;->gift_particular_messege:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/example/m6wmr/GiftParticularActivity;->access$9(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;

    move-result-object v2

    const-string v3, "content"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 94
    iget-object v2, p0, Lcom/example/m6wmr/GiftParticularActivity$1;->this$0:Lcom/example/m6wmr/GiftParticularActivity;

    const-string v3, "score"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/example/m6wmr/GiftParticularActivity;->access$10(Lcom/example/m6wmr/GiftParticularActivity;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 96
    :catch_0
    move-exception v0

    .line 98
    .local v0, "e":Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    .line 84
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch
.end method
